//需要动态添加的路由
import routes from "./generatorRoutes"
import staticRoutes from "./staticRoutes"
export default [
    {
        redirect: "/welcome",
        name: 'home',
        path: "/",
        component: () => import("../pages/home/index.vue"),
        //这个children需要动态添加，给他什么配置，用户就能访问什么页面
        children: [...staticRoutes]
    },
]